package cn.edu.sgu.www.mhxysy.mapper.role;

import cn.edu.sgu.www.mhxysy.entity.role.RoleAccount;
import cn.edu.sgu.www.mhxysy.vo.role.RoleAccountVO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

/**
 * @author 沐雨橙风ιε
 * @version 1.0
 */
@Repository
public interface RoleAccountMapper extends BaseMapper<RoleAccount> {

    /**
     * 通过ID查询角色详情
     * @param roleId 角色ID
     * @return RoleAccountVO
     */
    RoleAccountVO selectRoleDetails(@Param("roleId") String roleId);
}